#include "strategies/RandomDiscardStrategy.h"
#include <cstdlib>

int RandomDiscardStrategy::pickDiscard(CCardStack* hand, bool lastCardPicked, const GameState* gameState) {
    int pick;
    if (lastCardPicked) {
        pick = Query::RandomChoice(3);
        lastHandSize = 3;
    }
    else {
        pick = Query::RandomChoice(4);
        lastHandSize = 4;
    }
    return pick;
}
